package com.example.designpatterns.Iterator;

/**
 * 抽象聚合
 */
public interface Aggregate {
    void add(Object obj);

    void remove(Object obj);

    Iterator iterator();
}

